package com.woniuxy.mesboot.service.impl;

import com.woniuxy.mesboot.entity.MesInList;
import com.woniuxy.mesboot.mapper.MesInListMapper;
import com.woniuxy.mesboot.service.MesInListService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class MesInListServiceImpl implements MesInListService {
    @Resource
    private MesInListMapper mesInListMapper;
    @Override
    public List<MesInList> selectAll() {
        return mesInListMapper.selectAll();
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return mesInListMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(MesInList record) {
        return mesInListMapper.insert(record);
    }

    @Override
    public int insertSelective(MesInList record) {
        return mesInListMapper.insertSelective(record);
    }

    @Override
    public MesInList selectByPrimaryKey(Long id) {
        return mesInListMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(MesInList record) {
        return mesInListMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(MesInList record) {
        return mesInListMapper.updateByPrimaryKey(record);
    }
}
